Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Add await to getPendingTransactions call #485

Merged
merged 1 commit into from
May 27, 2024

Conversation

0xFlicker
Copy link
Contributor

@0xFlicker 0xFlicker commented May 26, 2024

The example for getPendingTransactions fails to wrap the await in such a way to return the results. The getPendingTransactions function returns a promise, so it needs to be awaited in order to then pull the results.

@tanay1337 tanay1337 requested a review from germartinez May 26, 2024 07:30
@germartinez germartinez changed the title doc: fix await example for getPendingTransactions fix: Add await to getPendingTransactions call May 27, 2024
@germartinez germartinez merged commit 59cc366 into safe-global:main May 27, 2024
2 of 4 checks passed
@germartinez
Copy link
Member

Thank you for the catch, @0xFlicker!
Merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants